import { createSSRApp } from "vue";
import App from "./App";
import { setupStore } from "./store";
import directive from "./directive"; // directive

export function createApp() {
  const app = createSSRApp(App);
  setupStore(app);
  directive(app);
  return {
    app,
  };
}
